package instruction;

import java.io.Serializable;
//用于承载好友，群聊的对象，方便与消息列表的显示
public class Variety implements Serializable {
    private String type;
    private Group group;
    private Friend friend;

    public Variety(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Group getGroup() {
        return group;
    }

    public void setGroup(Group group) {
        this.group = group;
    }

    public Friend getFriend() {
        return friend;
    }

    public void setFriend(Friend friend) {
        this.friend = friend;
    }
}
